package com.tarena.lbs.constant;

public class BusinessConstant {

    // 缓存相关常量
    public static final String CACHE_PREFIX_USER = "lbs:user:";
    public static final String CACHE_PREFIX_MERCHANT = "lbs:merchant:";

    // 缓存过期时间（秒）
    public static final int CACHE_EXPIRE_TIME = 3600;

    // 分页默认值
    public static final int DEFAULT_PAGE_SIZE = 10;
    public static final int DEFAULT_PAGE_NUM = 1;

    // 距离计算常量
    public static final double EARTH_RADIUS = 6371.0; // 地球半径，单位千米
}
